﻿<UserControl x:Class="SinaWeiboApp_sl.View.LoginView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:cmd="clr-namespace:SinaWeiboApp_sl.Command"
    xmlns:app="clr-namespace:SinaWeiboApp_sl.View"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <TextBox Height="24" HorizontalAlignment="Left" Margin="117,92,0,0" Name="txtUser" VerticalAlignment="Top" Width="165" Text="{Binding User.Name, Mode=TwoWay}" />
        <PasswordBox Height="24" HorizontalAlignment="Left" Margin="117,132,0,0" Name="txtPassword" VerticalAlignment="Top" Width="165" Password="{Binding User.Password, Mode=TwoWay}" />
        <Button Content="Login" Height="23" HorizontalAlignment="Left" Margin="117,213,0,0" Name="button1" VerticalAlignment="Top" Width="75" cmd:Click.Command="{Binding LoginCommand}" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="207,213,0,0" Name="button2" VerticalAlignment="Top" Width="75" />
        <sdk:Label Height="28" HorizontalAlignment="Left" Margin="117,171,0,0" Name="label1" VerticalAlignment="Top" Width="120" Content="{Binding State}" />
        <sdk:Label Height="43" HorizontalAlignment="Left" Margin="9,3,0,0" Name="label2" VerticalAlignment="Top" Width="379" FontSize="28" Content="SinaWeibo@JDCB" />
    </Grid>
</UserControl>
